Optimal. Leaf size=59 \[ -\frac {2 \left (c d^2+a e^2\right )}{3 e^3 (d+e x)^{3/2}}+\frac {4 c d}{e^3 \sqrt {d+e x}}+\frac {2 c \sqrt {d+e x}}{e^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {711}
\begin {gather*} -\frac {2 \left (a e^2+c d^2\right )}{3 e^3 (d+e x)^{3/2}}+\frac {2 c \sqrt {d+e x}}{e^3}+\frac {4 c d}{e^3 \sqrt {d+e x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 711
Rubi steps
\begin {align*} \int \frac {a+c x^2}{(d+e x)^{5/2}} \, dx &=\int \left (\frac {c d^2+a e^2}{e^2 (d+e x)^{5/2}}-\frac {2 c d}{e^2 (d+e x)^{3/2}}+\frac {c}{e^2 \sqrt {d+e x}}\right ) \, dx\\ &=-\frac {2 \left (c d^2+a e^2\right )}{3 e^3 (d+e x)^{3/2}}+\frac {4 c d}{e^3 \sqrt {d+e x}}+\frac {2 c \sqrt {d+e x}}{e^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 46, normalized size = 0.78 \begin {gather*} -\frac {2 \left (c d^2+a e^2-6 c d (d+e x)-3 c (d+e x)^2\right )}{3 e^3 (d+e x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.41, size = 47, normalized size = 0.80
method | result | size |
gosper | \(-\frac {2 \left (-3 c \,e^{2} x^{2}-12 c d e x +e^{2} a -8 c \,d^{2}\right )}{3 \left (e x +d \right )^{\frac {3}{2}} e^{3}}\) | \(40\) |
trager | \(-\frac {2 \left (-3 c \,e^{2} x^{2}-12 c d e x +e^{2} a -8 c \,d^{2}\right )}{3 \left (e x +d \right )^{\frac {3}{2}} e^{3}}\) | \(40\) |
risch | \(\frac {2 c \sqrt {e x +d}}{e^{3}}-\frac {2 \left (-6 c d e x +e^{2} a -5 c \,d^{2}\right )}{3 e^{3} \left (e x +d \right )^{\frac {3}{2}}}\) | \(45\) |
derivativedivides | \(\frac {2 c \sqrt {e x +d}+\frac {4 d c}{\sqrt {e x +d}}-\frac {2 \left (e^{2} a +c \,d^{2}\right )}{3 \left (e x +d \right )^{\frac {3}{2}}}}{e^{3}}\) | \(47\) |
default | \(\frac {2 c \sqrt {e x +d}+\frac {4 d c}{\sqrt {e x +d}}-\frac {2 \left (e^{2} a +c \,d^{2}\right )}{3 \left (e x +d \right )^{\frac {3}{2}}}}{e^{3}}\) | \(47\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 51, normalized size = 0.86 \begin {gather*} \frac {2}{3} \, {\left (3 \, \sqrt {x e + d} c e^{\left (-2\right )} + \frac {{\left (6 \, {\left (x e + d\right )} c d - c d^{2} - a e^{2}\right )} e^{\left (-2\right )}}{{\left (x e + d\right )}^{\frac {3}{2}}}\right )} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.11, size = 58, normalized size = 0.98 \begin {gather*} \frac {2 \, {\left (12 \, c d x e + 8 \, c d^{2} + {\left (3 \, c x^{2} - a\right )} e^{2}\right )} \sqrt {x e + d}}{3 \, {\left (x^{2} e^{5} + 2 \, d x e^{4} + d^{2} e^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 168 vs.
\(2 (61) = 122\).
time = 0.38, size = 168, normalized size = 2.85 \begin {gather*} \begin {cases} - \frac {2 a e^{2}}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} + \frac {16 c d^{2}}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} + \frac {24 c d e x}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} + \frac {6 c e^{2} x^{2}}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} & \text {for}\: e \neq 0 \\\frac {a x + \frac {c x^{3}}{3}}{d^{\frac {5}{2}}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.98, size = 48, normalized size = 0.81 \begin {gather*} 2 \, \sqrt {x e + d} c e^{\left (-3\right )} + \frac {2 \, {\left (6 \, {\left (x e + d\right )} c d - c d^{2} - a e^{2}\right )} e^{\left (-3\right )}}{3 \, {\left (x e + d\right )}^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 44, normalized size = 0.75 \begin {gather*} \frac {6\,c\,{\left (d+e\,x\right )}^2-2\,a\,e^2-2\,c\,d^2+12\,c\,d\,\left (d+e\,x\right )}{3\,e^3\,{\left (d+e\,x\right )}^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________